Platform Explorer / Nuxeo Platform 2021

Contribution org.nuxeo.ecm.core.work.config--queues

This contribution is part of XML component org.nuxeo.ecm.core.work.config inside nuxeo-core-event-2021.1.19.jar /OSGI-INF/workmanager-config.xml

Extension Point

Extension point queues of component service.

Registration Order

3
The registration order represents the order in which this contribution was registered on its target extention point. This will impact the override/merge behaviour when it is implemented on the target service, and is useful for proper customization of existing contributions.
You can influence this order by adding "require" tags in the containing component declaration, to make sure it is resolved after another component (see "Resolution Order" on components).

Contributed Items

  • <queue id="default">
          <name>Default queue</name>
          <maxThreads>4</maxThreads>
          <!-- clear completed work instances older than 10 minutes -->
          <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
        </queue>
  • <queue id="fulltextUpdater">
          <name>Fulltext updater queue</name>
          <!-- fulltext updates are single-threaded to avoid concurrent
            writes to the same column -->
          <maxThreads>1</maxThreads>
          <category>fulltextUpdater</category>
          <!-- clear completed work quickly as it contains (potentially large)
            text data -->
          <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
        </queue>

XML Source

<extension point="queues" target="org.nuxeo.ecm.core.work.service">
    <queue id="default">
      <name>Default queue</name>
      <maxThreads>4</maxThreads>
      <!-- clear completed work instances older than 10 minutes -->
      <clearCompletedAfterSeconds>600</clearCompletedAfterSeconds>
    </queue>
    <queue id="fulltextUpdater">
      <name>Fulltext updater queue</name>
      <!-- fulltext updates are single-threaded to avoid concurrent
        writes to the same column -->
      <maxThreads>1</maxThreads>
      <category>fulltextUpdater</category>
      <!-- clear completed work quickly as it contains (potentially large)
        text data -->
      <clearCompletedAfterSeconds>300</clearCompletedAfterSeconds>
    </queue>
  </extension>